package org.jeecg.common.modules.doctor.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: doctor_certification
 * @Author: jeecg-boot
 * @Date:   2020-08-15
 * @Version: V1.0
 */
@Data
@TableName("doctor_certification")
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="doctor_certification对象", description="doctor_certification")
public class DoctorCertification implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    @JsonIgnore
    private String id;
	/**医生id*/
	@Excel(name = "医生id", width = 15)
    @ApiModelProperty(value = "医生id")
    private String doctorId;
	/**执照第一面*/
	@Excel(name = "执照第一面", width = 15)
    @ApiModelProperty(value = "执照第一面")
    private String license1;
	/**执照第二面*/
	@Excel(name = "执照第二面", width = 15)
    @ApiModelProperty(value = "执照第二面")
    private String license2;
	/**资格证第一面*/
	@Excel(name = "资格证第一面", width = 15)
    @ApiModelProperty(value = "资格证第一面")
    private String qualification1;
	/**资格证第二面
*/
	@Excel(name = "资格证第二面", width = 15)
    @ApiModelProperty(value = "资格证第二面")
    private String qualification2;
	/**专业技术资格证第一面*/
	@Excel(name = "专业技术资格证第一面", width = 15)
    @ApiModelProperty(value = "专业技术资格证第一面")
    private String technology1;
	/**专业技术资格证第二面*/
	@Excel(name = "专业技术资格证第二面", width = 15)
    @ApiModelProperty(value = "专业技术资格证第二面")
    private String technology2;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**修改人*/
    @ApiModelProperty(value = "修改人")
    private String updateBy;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;
	/**审核人*/
	@Excel(name = "审核人", width = 15)
    @ApiModelProperty(value = "审核人")
    private String checkUser;
	/**审核时间*/
	@Excel(name = "审核时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "审核时间")
    private Date checkTime;
}
